<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-max_amount" class="control-label col-xs-12 col-sm-2">{:__('Max_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-max_amount" class="form-control" step="0.01" name="row[max_amount]" type="number" value="{$row.max_amount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-min_amount" class="control-label col-xs-12 col-sm-2">{:__('Min_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-min_amount" class="form-control" step="0.01" name="row[min_amount]" type="number" value="{$row.min_amount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-free_amount" class="control-label col-xs-12 col-sm-2">{:__('Free_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-free_amount" class="form-control" step="0.01" name="row[free_amount]" type="number" value="{$row.free_amount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-ratio" class="control-label col-xs-12 col-sm-2">{:__('Ratio')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ratio" class="form-control" step="0.001" name="row[ratio]" type="number" value="{$row.ratio}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-create_time" class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-update_time" class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{$row.update_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-remark" class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_multiple" class="control-label col-xs-12 col-sm-2">{:__('Is_multiple')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_multiple" class="form-control selectpicker" name="row[is_multiple]">
                {foreach name="isMultipleList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_multiple"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-number" class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-number" class="form-control" name="row[number]" type="number" value="{$row.number}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-one_max_amount" class="control-label col-xs-12 col-sm-2">{:__('One_max_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-one_max_amount" class="form-control" step="0.01" name="row[one_max_amount]" type="number" value="{$row.one_max_amount}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
